export default function getData() {
  return {
    tooltip: {
      trigger: 'axis'
    },
    legend: {
      data: ['总访问次数', '访问成功次数'],
      bottom: 20,
      itemWidth: 8,
      itemHeight: 8,
      textStyle: {
        color: '#999'
      }
    },
    grid: {
      left: 20,
      top: 20,
      right: 20,
      bottom: 50,
      containLabel: true
    },
    xAxis: {
      type: 'category',
      axisLine: {
        show: false
      },
      axisLabel: {
        color: '#999'
      },
      axisTick: {
        show: false
      },
      data: ['8月1号', '8月2号', '8月3号', '8月4号', '8月5号', '8月6号', '8月7号']
    },
    color: ['#49dd8a', '#3890df', '#6e7074', '#546570', '#c4ccd3'],
    yAxis: {
      type: 'value',
      axisLine: {
        show: false
      },
      axisLabel: {
        color: '#999'
      },
      axisTick: {
        show: false
      },
      splitLine: {
        lineStyle: {
          type: 'dotted'
        }
      }
    },
    series: [
      {
        name: '总访问次数',
        type: 'line',
        data: [220, 182, 191, 234, 290, 330, 310]
      },
      {
        name: '访问成功次数',
        type: 'line',
        data: [120, 132, 101, 134, 90, 230, 210]
      }
    ]
  }
}
